﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MuaChungDAO;

namespace DoAnMuaChung
{
    public partial class DealTheoLoai : System.Web.UI.Page
    {
        private DealHandler DealCtrler = new DealHandler();
        protected void Page_Load(object sender, EventArgs e)
        {
            String loaiDealID = Request.QueryString["LoaiDealID"];
            //dataList_DanhSachDeal.DataSource = DealHandler.napTheoLoai(loaiDealID);
            dataList_DanhSachDeal.DataSource = DealCtrler.getDsDealTheoLoai(loaiDealID);
            dataList_DanhSachDeal.DataBind();

        }
    }
}